package com.wisely.hello.spring.boot.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 配置文件
 * 配置前缀,默认hello.msg=world
 * @author 86188
 */
@ConfigurationProperties(prefix = "hello")
public class HelloProperties {
    private static final String MSG = "world";
    /**
     * 信息
     */
    private String msg = MSG;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
